import Vue from 'vue'
import App from './App.vue'
import router from './router'

//消息提示框
import myConfirm from './utils/myConfirm'
Vue.prototype.$myConfirm=myConfirm;

//清空表单
import resetForm from './utils/resetForm'
Vue.prototype.$resetForm=resetForm;

//对象快速复制
import objeCopy from './utils/objCopy';
Vue.prototype.$objCopy=objeCopy;

//es6的直接导入语法
import '@/assets/css/global.css'
import ElementUI  from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

import { Message } from 'element-ui'
Vue.prototype.$message=Message;

Vue.config.productionTip = false


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
